[ConfigDB] Move all BGP configuration into DB#861
Conversation
taoyl-ms
commented
Aug 2, 2017
- BGP data read from minigraph.py now match DB schema
- BGP templates are updated
- bgpcfgd can now deal with runtime neighbor create/delete
| mv -f /host/old_config/* /etc/sonic/ | ||
| elif [ -f /host/minigraph.xml ]; then | ||
| mv /host/minigraph.xml /etc/sonic/ | ||
| if [ -f /etc/sonic/init_cfg.json ]; then |
There was a problem hiding this comment.
if [ -f /etc/sonic/init_cfg.json ]; then [](start = 8, length = 40)
add some comment for TODO. For example, currently we still load minigraph using -m, we need to remove it in the future. #Resolved
| 'name': start_router, | ||
| 'addr': start_peer, | ||
| 'peer_addr': end_peer | ||
| }) |
There was a problem hiding this comment.
here, should we change the 'peer_addr' -> 'addr', and 'name' -> 'peer_name'?
this is because, the end_router is myself, and the name is really the my peer name. #WontFix
There was a problem hiding this comment.
As the table name is "BGP_NEIGHBOR", I think it is pretty straight forward that "name" here is the name of bgp neighbor. "peer_addr" does sound a bit confusing, I'll suggest we can change it into "local_addr". What's your suggestion? #Closed
lguohan
left a comment
There was a problem hiding this comment.
change 'name' to 'peer_name' for bgp neighbor table schema.
* msft_github/master: [docker-fpm-quagga]: Manage Quagga processes (zebra, bgpd) using supervisor instead of watchquagga (sonic-net#900) Add arista-net initramfs hook (sonic-net#899) Add Marvell platform (sonic-net#765) [sonic-utilities]: Update submodule to remove pager from CLI utils (sonic-net#897) Fixing a couple of issues to enable FRR to run with latest SONiC code. (sonic-net#895) Fix the network command for ipv6 vlan interfaces (sonic-net#894) Add s8810 32q platform support (sonic-net#867) [quagga]: Update sonic-quagga submodule (sonic-net#892) [docker-database]: Start rsyslogd to allow supervisor to log to syslog (sonic-net#890) [docker-platform-monitor]: Prevent supervisor from logging unexpected exits from processes known to exit in < 1 second (sonic-net#889) Update sonic-utilities (sonic-net#887) [submodule] update sonic-swss submodule (sonic-net#885) [LEDs]: Initialize status and fan LEDs to green on Arista 7050-QX-32/7050-QX-32-S (sonic-net#886) [sfputil]: Add support for SFP presence, low-power mode and reset (sonic-net#877) [System logs]: Improvements to prevent filling /var/log partition (sonic-net#865) Update sonic-utilities pointer to support reload minigraph (sonic-net#871) [device/accton]: Update Accton-AS7712-32X (sonic-net#776) [ConfigDB] Move all BGP configuration into DB (sonic-net#861) [sonic-slave]: Split user commands from generic. (sonic-net#868) [platform] Add support for Arista DCS-7260CX3-64 (sonic-net#863)
Fix is_mgmt_vrf_enabled when MGMT_VRF_CONFIG is not present the config (sonic-net#885) Changes to support acl-loader command for multi-npu platforms. (sonic-net#908) Stop/Start restapi server upon config reload (sonic-net#911) [fanshow] Add column drawer name and led status to output of show platform(sonic-net#991) [MultiDB] use sonic-db-cli instead of redis-cli in new added codes (sonic-net#907) [show] Add `ntpstat` output to `show ntp` (sonic-net#861) [config] Log invocation of config commands to syslog (sonic-net#259) Remove dependency on click-default-group package (sonic-net#903) [config] Add 'interface transceiver' subgroup with 'lpmode' and 'rese…' (sonic-net#904) [show] Add 'errors' and 'rates' subcommands to 'show interfaces count…(sonic-net#900) [config] Support load_minigraph command for multi NPU platform (sonic-net#896) [Vnet] Fix NameError for 'swsssdk' and align output (sonic-net#902)
Fix is_mgmt_vrf_enabled when MGMT_VRF_CONFIG is not present the config (#885) Changes to support acl-loader command for multi-npu platforms. (#908) Stop/Start restapi server upon config reload (#911) [fanshow] Add column drawer name and led status to output of show platform(#991) [MultiDB] use sonic-db-cli instead of redis-cli in new added codes (#907) [show] Add `ntpstat` output to `show ntp` (#861) [config] Log invocation of config commands to syslog (#259) Remove dependency on click-default-group package (#903) [config] Add 'interface transceiver' subgroup with 'lpmode' and 'rese…' (#904) [show] Add 'errors' and 'rates' subcommands to 'show interfaces count…(#900) [config] Support load_minigraph command for multi NPU platform (#896) [Vnet] Fix NameError for 'swsssdk' and align output (#902)
Signed-off-by: yangshiping <[email protected]>
Signed-off-by: Ze Gan <[email protected]>
…lly (sonic-net#861) #### Why I did it src/sonic-swss ``` * 2b334c7 - (HEAD -> 202412, origin/202412) [code sync] Merge code from sonic-net/sonic-swss:202411 to 202412 (#58) (21 hours ago) [mssonicbld] ``` #### How I did it #### How to verify it #### Description for the changelog